From: Lasse Collin Date: Thu, 5 Feb 2015 13:01:09 +0000 (+0100) Subject: common/xz: add comments for the intentionally missing break statements X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3783 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=58c030d5f8048a95c485ebf6296066c45bde1cd4;p=xen.git common/xz: add comments for the intentionally missing break statements Signed-off-by: Lasse Collin [Linux commit 84d517f3e56f7d0d305c14a701cee8f7372ebe1e] Signed-off-by: Jan Beulich Acked-by: IAn Campbell --- diff --git a/xen/common/xz/dec_lzma2.c b/xen/common/xz/dec_lzma2.c index 779221dfa5..44fe79bc30 100644 --- a/xen/common/xz/dec_lzma2.c +++ b/xen/common/xz/dec_lzma2.c @@ -1043,6 +1043,8 @@ XZ_EXTERN enum xz_ret INIT xz_dec_lzma2_run(struct xz_dec_lzma2 *s, s->lzma2.sequence = SEQ_LZMA_PREPARE; + /* Fall through */ + case SEQ_LZMA_PREPARE: if (s->lzma2.compressed < RC_INIT_BYTES) return XZ_DATA_ERROR; @@ -1053,6 +1055,8 @@ XZ_EXTERN enum xz_ret INIT xz_dec_lzma2_run(struct xz_dec_lzma2 *s, s->lzma2.compressed -= RC_INIT_BYTES; s->lzma2.sequence = SEQ_LZMA_RUN; + /* Fall through */ + case SEQ_LZMA_RUN: /* * Set dictionary limit to indicate how much we want